package com.kuns.subject.application.convert;

import com.kuns.subject.application.dto.SubjectAnswerDTO;
import com.kuns.subject.application.dto.SubjectInfoDTO;
import com.kuns.subject.domian.entity.SubjectAnswerBO;
import com.kuns.subject.domian.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectInfoDTOConverter {

    SubjectInfoDTOConverter INSTANCE = Mappers.getMapper(SubjectInfoDTOConverter.class);

    SubjectInfoBO convertDtoToBo(SubjectInfoDTO subjectInfoDTO);

    SubjectInfoDTO convertBoToDto(SubjectInfoBO subjectInfoBO);

}
